@extends('Home.layout')
@section('content')


<link rel="stylesheet" href="{{ asset('Adminhd/bootstrap/css/bootstrap.min.css') }}">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="{{ asset('Adminhd/bootstrap/css/font-awesome.min.css') }}">
    <!-- Ionicons -->
    <link rel="stylesheet" href="{{ asset('Adminhd/bootstrap/css/ionicons.min.css') }}">
    <!-- Theme style -->
    <link rel="stylesheet" href="{{ asset('Adminhd/dist/css/AdminLTE.min.css') }}">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="{{ asset('Adminhd/dist/css/skins/_all-skins.min.css') }}">
    <!-- iCheck -->
    <link rel="stylesheet" href="{{ asset('Adminhd/plugins/iCheck/flat/blue.css') }}">
    <!-- Morris chart -->
    <link rel="stylesheet" href="{{ asset('Adminhd/plugins/morris/morris.css') }}">
    <!-- jvectormap -->
    <link rel="stylesheet" href="{{ asset('Adminhd/plugins/jvectormap/jquery-jvectormap-1.2.2.css') }}">
    <!-- Date Picker -->
    <link rel="stylesheet" href="{{ asset('Adminhd/plugins/datepicker/datepicker3.css') }}">
    <!-- Daterange picker -->
    <link rel="stylesheet" href="{{ asset('Adminhd/plugins/daterangepicker/daterangepicker-bs3.css') }}">
    <!-- bootstrap wysihtml5 - text editor -->
    <link rel="stylesheet" href="{{ asset('Adminhd/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css') }}">
@foreach($data as $row)
<form role="form" action="{{ url('/') }}" enctype="multipart/form-data" >
    {{ csrf_field() }}

    <div class="box-body">
        <div class="form-group">
            <label for="exampleInputEmail1">用户名:</label>
            <input type="text" name="hd_name" value="{{ $row -> hd_name }}" class="form-control" disabled="disabled" id="exampleInputEmail1">
        </div>

        <div class="form-group">
            <label for="exampleInputPassword1">性别</label><br/>
            <select name="hd_sex" style="width:90px;">
                <option value="1" value="@if($row-> hd_sex == 1)@endif">　　女　</option>
                <option value="2" value="@if($row-> hd_sex == 2)@endif">　　男　</option>
            </select>
        </div>

        <div class="form-group">
            <label for="exampleInputPassword1">手机号</label>
            <input type="text" name="hd_phone" value="{{$row-> hd_phone}}" class="form-control" id="exampleInputPassword1" disabled="disabled">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">邮箱</label>
            <input type="email" name="hd_email" value="{{$row-> hd_email}}" class="form-control" id="exampleInputEmail1" disabled="disabled">
        </div>
        <div class="form-group">
            <label for="exampleInputFile">个性头像</label>

            </p>
            <p><img style="width:200px;" src="{{ $row -> hd_pic }}">
            </p>
        </div>
    </div><!-- /.box-body -->
    <div class="box-footer">

    </div>
</form>
@endforeach

@endsection